package org.liuyuantao.patterns.strategy.duck;

import org.liuyuantao.patterns.strategy.flybehavior.FlyBehavior;
import org.liuyuantao.patterns.strategy.quackbehavior.QuackBehavior;

public class RedHeadDuck extends Duck {

    public RedHeadDuck() {
    }

    public RedHeadDuck(FlyBehavior mFlyBehavior, QuackBehavior mQuackBehavior) {
        super(mFlyBehavior, mQuackBehavior);
    }

    @Override
    public void display() {
        System.out.println("**RedHead**");
    }

}
